package cn.sofwin.day0124.C3;

public class C3 {

   private String color;
    private int leg;
    private String eat;

    public String getColor(String color) {
        System.out.print("毛的颜色是:"+color+"\t");
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public int getLeg(int leg) {
        System.out.print("腿的个数:"+leg+"\t");
        return leg;
    }

    public void setLeg(int leg) {
        this.leg = leg;
    }

    public String getEat(String eat) {
        System.out.println("吃:"+eat+"\t");
        return eat;
    }

    public void setEat() {

        this.eat = eat;
    }
}






